<template>
    <div>
        <mt-swipe :auto="3000">
            <mt-swipe-item v-for="(item,i) in lunbotu" :key="i">
                <img :src="item[imgname]" alt="" :class="[isfull?'img-full':'img-normal']">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>

<script>
export default {
    data(){
        return{
        }
    },
    methods:{
    },
    props:["lunbotu","imgname","isfull"],
    
}
</script>

<style lang="scss" scoped>
    .mint-swipe{
        height: 180px;
        .mint-swipe-item{
            text-align: center;
            .img-full{
                height: 100%;
                width: 100%;
            }
            .img-normal{
                height: 100%;
            }
            // &:nth-child(1){
            //     background-color: red;
            // }
            // &:nth-child(2){
            //     background-color: pink;
            // }
            // &:nth-child(3){
            //     background-color: hotpink;
            // }
        }
    }
</style>